<template>
  <section class="landing-page">

    <video src="@/assets/zhucheng.mp4" autoplay loop></video>
    <div class="landing-page-content">

      <router-link to="/home" class="landing-page-link">
        <h1>我的家乡——诸城</h1>
      </router-link>
    </div>
  </section>
</template>

<style>
.landing-page {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

video {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: -1;
}

.landing-page-link {
  font-weight: bold;
  color: #2c3e50;
  /* 扩大一下可点击范围 */
  padding: 12px 16px;
  text-decoration: none;
}

.landing-page-link a.router-link-hover {
  color: #42b983;
  /* 扩大一下可点击范围 */
  padding: 12px 16px;
  text-decoration: none;
}
</style>